set(SOURCE_DIR ${PROJECT_ROOT}/command)
set(HEADER_DIR ${PROJECT_ROOT}/include)

qelib_include_directories(${HEADER_DIR})

# log command
qelib_sources_ifdef(CONFIG_CMD_LOG ${SOURCE_DIR}/cmd_log.c)

# gpio command
qelib_sources_ifdef(CONFIG_CMD_GPIO ${SOURCE_DIR}/cmd_gpio.c)

# mem command
qelib_sources_ifdef(CONFIG_CMD_MEM ${SOURCE_DIR}/cmd_mem.c)

# i2c command
qelib_sources_ifdef(CONFIG_CMD_I2C ${SOURCE_DIR}/cmd_i2c.c)